package com.godofball.todo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.godofball.todo.entity.Task;
import com.godofball.todo.entity.utils.ResponseResult;

/**
 * 任务表(Task)表服务接口
 *
 * @author makejava
 * @since 2023-12-31 16:36:56
 */
public interface TaskService extends IService<Task> {

    ResponseResult selectWorkTask(Integer pageNum, Integer pageSize, String title, String type);

    ResponseResult addTask(Task task);

    ResponseResult deleteTask(String id);

    ResponseResult updateTask(Task task);

    ResponseResult submitTask(String id);

    ResponseResult selectDoneTask(Integer pageNum, Integer pageSize, String title, String content, String type);

    ResponseResult selectTaskNumber();

    ResponseResult selectTaskByTime();

    ResponseResult selectTaskByWeek();
}

